package com.buaa.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserDTO {

    @NotNull
    private String policeId;

    private String userName;
    private Integer id;

    @NotNull
    private String userPassword;

    private String token;

    //把当前登录用户的角色以及他的菜单项带出来
    private String role;

//    private List<Menu> menu;

}
